import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

export default async function a016(fd: IFeidaoAiBrowserComponent) {
	// todo
	// data-id="equip_internal_no"
	const n1 = fd.data.node.querySelector<HTMLInputElement>('[data-id="equip_internal_no"]');
	n1.removeAttribute('readonly');
	// data-id="transfer_price"
	// data-id="transfer_time"
	// data-id="equip_type_no"
	// data-id="equipment_kind_no"
	// data-id="value1"
	// data-id="value2"
	const n2 = fd.data.node.querySelector<HTMLSelectElement>('[data-id="equip_type_no"]');
	n2.removeAttribute('disabled');
	const n3 = fd.data.node.querySelector<HTMLSelectElement>('[data-id="equipment_kind_no"]');
	n3.removeAttribute('disabled');
	const n4 = fd.data.node.querySelector<HTMLSelectElement>('[data-id="value1"]');
	n4.removeAttribute('disabled');
	const n5 = fd.data.node.querySelector<HTMLSelectElement>('[data-id="value2"]');
	n5.removeAttribute('disabled');
	const n6 = fd.data.node.querySelector<HTMLInputElement>('[data-id="transfer_price"]');
	n6.removeAttribute('readonly');
	const n7 = fd.data.node.querySelector<HTMLInputElement>('[data-id="transfer_time"]');
	n7.removeAttribute('readonly');
	const n8 = fd.data.node.querySelector<HTMLInputElement>('[data-id="date"]');
	n8.removeAttribute('readonly');
	// data-id="btn_1"
	// iconfont icon-del color-theme font22 vertical-a-m
	const n9 = fd.data.node.querySelector('[data-id="btn_1"]');
	n9.setAttribute('class', 'iconfont icon-icon02 color-theme font22 vertical-a-t');
	const n10 = fd.data.node.querySelector('[data-id="btn_2"]');
	n10.setAttribute('class', 'iconfont icon-del color-theme font22 vertical-a-m');
	const n11 = fd.data.node.querySelector('[data-id="btn_3"]');
	n11.setAttribute('class', 'iconfont icon-icon02 color-theme font22 vertical-a-t');
	const n12 = fd.data.node.querySelector('[data-id="btn_4"]');
	n12.setAttribute('class', 'iconfont icon-del color-theme font22 vertical-a-m');
	// iconfont icon-keep color-theme font20 vertical-a-m
	const n13 = fd.data.node.querySelector('[data-id="btn_5"]');
	n13.setAttribute('class', 'iconfont icon-keep color-theme font20 vertical-a-m');
}
